#ifndef __ARM_H__
#define __ARM_H__

#ifdef __cplusplus
extern "C"
{
#endif
#define EXCEPTION_UNDEF		0x1
#define EXCEPTION_SWI		0x2
#define EXCEPTION_PABORT	0x3
#define EXCEPTION_DABORT	0x4
#define EXCEPTION_IRQ		0x5
#define EXCEPTION_FIQ		0x6

// extern function
extern void		exception_table_init(void);
extern INT32S	register_exception_table(INT32U exception, INT32U handler);
extern void		irq_enable(void);
extern void		irq_disable(void);
extern void		fiq_enable(void);
extern void		fiq_disable(void);

#ifdef __cplusplus
}

#endif
#endif // __ARM_H__
